from django.contrib import admin
from django.urls import path
from .view import *
from .v1_view import get_domain as v1_get_domain
urlpatterns = [
    path(r'domain', get_domain),
    path(r'domain/start/', start_domain),
    path(r'domain/destroy/', destroy_domain),
    path(r'domain/shutdown/', shutdown_domain),
    path(r'domain/delete/', delete_domain),
    path(r'domain/clone/', clone_domain),
    path(r'domain/reboot/', reboot_domain),
    path(r'domain/pause/', pause_domain),
    path(r'domain/snap/', snap_domain),
    path(r'domain/save/', save_domain),
    path(r'domain/restore/', restore_domain),
    path(r'domain/desktop/', desktop_domain),
    path(r'domain/xml/', get_xml),
    path(r'display/info/', getDesktopUrl),
    path(r'v1/domain/', v1_get_domain),
    path(r'create_domain/', create_domain),
    path(r'domain/hosts/', domain_hosts),
    path(r'domain/add_virt_dirs/', add_virt_dirs),
    path(r'domain/del_virt_dirs/', del_virt_dirs),
    path(r'domain/move_host/', move_host),
]
